﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dycox.Collections;

namespace Dycox.Workflows
{
    public class ConditionCollection : CollectionBase<Condition>
    {
        public ConditionCollection()
        {
        }

        private ConditionRelation _relation;

        public ConditionRelation ItemsRelation
        {
            get { return _relation; }
            set { _relation = value; }
        }

        public bool Test(ConditionTestArguments args)
        {
            return Conditions.ConditionCollectionCondition.Test(this, args);
        }

    }
}
